Basic Plot: a dystopian future wherein all the productive, intelligent people are committed to a "mental institution" where they more or less keep the world running.
I read it in the early 1970's, in a science fiction anthology that I can't seem to locate in my collection. It may very well be “The Marching Morons”, but I don't think it is.