There are no state asylums any more but there are mental wards in most hospitals.
But they are being used for serious cases like, some poor dude is being served with divorce papers so the wife calls in a "tip" that he is threatening the kids so he gets hauled off to a lockup where he has no rights and she can safely put all what was marital property in her name.
And it’s a handy way too get a person’s 2nd Amendment Rights nullified. Meanwhile we see the truly needy among the homeless, populating jails and sharing healthcare facilities with the comparatively sane, posing danger to others and themselves.
This is an issue that should be given higher priority than it currently has (little to none).