There was a time states in the US had such institutions. But then some bureaucrats and politicians decided that much money could saved by letting the inmates fend for themselves. So these inmates became "street people" along with alcoholics and drug addicts. Inevitably these folks broke laws and became inmates of prisons. The prison staff is not trained to deal with people with mental issues.