Dean Baker correctly criticizes the New York Times for mischaracterizing the nature of immigration in this article.
The Times claims that poor immigrants find far more in the way of barriers than do the rich, and rightly notes that while poor immigrants may run across the borders, “The United States much more severely restricts the flows of highly educated immigrants than less-educated immigrants, it just uses different mechanisms. In the case of highly educated immigrants, the government at least partially enforces laws that prohibit employers from hiring immigrants at wages that are lower than what citizens would be willing to work for. There are no newspapers, hospitals, universities, or law firms that bring in large numbers of undocumented professionals and pay them half of the prevailing wage in their occupation. Such an institution would almost certainly be shut down, with the employers facing prosecution.“
This is not entirely accurate either. While the poor may be smuggled across borders in the back of 18 wheelers, and the more well to do will fly in, which makes the trek for the former easier, the divide is not between rich and poor, but between workers, and “professionals”.
Programmers, engineers, and nurses (which kind of eliminates your hospital example) are routinely replaced by lower paid H1b/L1 workers, and these visas are also used to lower wages in the fields.
The divide is that people who draw up this policy (Lawyers, Economists, and other Academicians), those who belong to professions that they might want their children to go into (Doctors), and those who are needed to cheer lead these policies (Journalists), are protected.
It’s about protecting, “People like us”, more than it is about rich and poor.