Have you ever met a schizophrinic before? Its not like they're off the loony bin / completely off their rocker, its actually pretty similar to QAnon-style conspiracy theorists. They have some delusions and have difficulty accepting which facts are real or not. But that's not enough of a reason to prevent them from holding a stable job or house.
-----
Have you studied John Forbes Nash Jr.? A celebrated mathematician, the one who discovered "Nash Equalibrium"? He's literally diagnosed with paranoid schizophrenia and never suffered from homelessness.
Its not like "bam, I'm mentally unstable, lol I don't want my house anymore". That's the stuff of crappy Hollywood stories, and has no basis in reality. In most cases, any person, be they crazy / delusional / schizo / mentally sick or normal, will want a warm place to sleep and the rain out of their clothes.
They'll need various amounts of care. Maybe a few drugs is sufficient to hold off their worst symptoms. Maybe socialization / keeping up with friends is what's needed. Hard to say exactly, I'm not a psychologist. But from what I've seen and experienced, mental illness is not an excuse for homelessness. Not at all.
-----
Homeless people, the ones I meet and interact with, are people who don't have enough money for a home. They've been kicked out of their apartment and don't know what to do.
Maybe they're crazy, maybe they're schizo as well. But even if they are, that doesn't change the fundamental issue (ie: their lack of money, their inability to afford a home right now).