If you go and look over the prison systems in most all states...probably a quarter of the population are simply people who would be better suited to sit in a mental asylum or full-time secure facility. Most of the homeless population...fall into the same category.
So the solution to the problem is a massive project of constructing and staffing government-run institutions?