People can be committed to a mental institution only after judicial hearing, but people are committed to schools beyond the reach of Habeas Corpus.