Every McDonald's in North America I have been in had homeless people sleeping in it. I also actually worked at McDonald's and we would have to call ambulance every now and then because someone got high and passed out or something in the washroom.
I suspect you are full of it. I've been to lots of McDonald's locations, and I've rarely seen homeless people inside. Keep in mind I've been everywhere from California to Maine, From Kentucky to Florida to Texas. Nearly every state except the PNW, and I've never seen homeless people sleeping in a McDonald's (McD's used to be my goto with the $1 value menu when traveling). Ordering food? sure. As someone who once worked in fast food, I also know for a fact that management would kick them out, and so would the few dozen police officers in a lot of areas that walk in to get breakfast/coffee.
...Unless you mean Canada of course, however, I bet a well traveled Canadian would say the same thing.
Also, stop vilifying the homeless.
Then you've probably only been to/worked at McDonald's in the built-up parts of major cities.
McDonald's in the suburbs and more rural areas and smaller cities are quite pleasant. Spacious, clean, just local folks.
If your local McDonald's has a homeless person problem, then all your local fast food franchises do. It's a social services problem, not a McDonald's problem.