The homeless are internal refugees.  Unlike external refugees, there is no vetting system for the homeless.  It would actually be more dangerous to take in a homeless person than an external refugee.  Not a good analogy at all.