It's even worse than that: Some jurisdictions (including California IIRC) allow involuntary psychiatric holds based on the assessment of people (like law enforcement officers) who have no psychological qualifications whatsoever.
This is without a doubt one of the worst and most normalized human rights violations happening in the world today, and the scale and impact of it is hard to imagine.