No one has claimed that. You're the only one claiming a border immigration policy needs to correctly quantify over the universal non-citizen class.
No state in the world today, nor in all of history, has that view. Nor is it, on the face of it, even really coherent. There is nothing to be said about the "All" of the others. Only that we don't owe them much.
If you're not claiming entire nations think and act the same way, then what you're describing (a blanket ban on entire nations of people because of some arbitrary numbers in a theoretical poll) is, without a doubt, discriminatory.
How is that not arbitrarily discriminatory on its face?