Upon application of the directors or managing board of any eleemosynary institution in this State, operated without profit as a home for orphans or needy children who are admitted thereto, the State Board of Education shall establish a grammar or high school or both for the inmates of such institution within school age.