About democracy, rights and immigration

I imagine USA refusing immigration to Steve Job’s father, or to Einstein, pretexting that their country was highly instable. This makes absolutely no sense. What a country want is immigrants coming to work and capable of integration, to have a cohesive society (i.e, they do not come only for the state’s welfare subsidies).