Maybe we should go back to the days of simply locking up anyone a
doctor says is mentally ill.
It was the progressives who had that policy declared illegal in the
70s.
In many states, if a licensed therapist determines a person is a threat
to himself/herself or others, that person can be hospitalized for up to
three days for a full-blown psychological exam. After the exam, a judge
holds a hearing to determine if further hospitalization is necessary. It
sort of works like that, except there aren't enough beds or decent
facilities to take care of those who need the help, and judges are
reluctant for that and other reasons to require long-term hospitalization.