Taxpayers may have thought that mental asylums were expensive, but jails are very expensive. It's a lot cheaper to keep a schizophrenic in a state hospital. So I'm not sure that the decision to empty the state hospitals was driven by taxpayer stinginess.
The whole thing is complicated. Drug companies in the 60s and 70s advertised their antipsychotics very hard. They persuaded the public that drugs could cure mental illness. That was a big force behind the emptying of the hospitals.
Lots of short-sighted thinking.