You're conflating morals with legality. The two are completely different concepts.
For example I can legally profile short people, but it isn't moral to do so. And I would rightfully be judged if I did so.
For example I can legally profile short people, but it isn't moral to do so. And I would rightfully be judged if I did so.
Asking if it is right to judge people based on their mental health is an entirely different topic than asking if we can judge people based on a physical characteristic they were born with and have no control over. Apples and oranges.