Consider the work of Old Testament scholar James K. Hoffmeier, which has been embraced by the Center for Immigration Studies, an organization devoted to reducing immigration across the board.
...
In Hoffmeier’s view, the duty to not oppress “strangers” (“ger”) found in Leviticus 19:33 does not apply unless a person already has gained legal approval to be within a nation’s borders. That “legal status” had to be obtained “from the appropriate authority in that particular culture” or else he or she remained a “foreigner” (“nekhar” or “zar”).
The problem with Biblical (and Rabbinical) scholarship is that people argue over this shit extensively and ad nauseum. Hell, the Talmud is just an extended historical account of these arguments (often highly pedantic and endlessly nuanced, turning on interpretations of definitions of terms used in historical observations).
You can come at a modern policy argument waving the Bible and find a dozen other people from every side of the debate doing the same.