Or maybe you're talking about UBI to immigrants, but not actually allowing any immigration.
Otherwise, we are a country full of immigrants who have become citizens or legal residents and would benefit from UBI.
Legal residents would not get UBI until they become citizens.
Also, logistics. If immigrants can get the UBI, then people would flood in from all over the world just to get UBI. You'd either have a ton of expense, or you'd have to make legal immigration nearly impossible.
Basically a gigantic extra tax for not having citizenship.
That's basically how the math works out. Immigrants fund a lot of the UBI by paying into it but not benefiting from it. We would need a lot of protections for non-citizen workers to protect them from being exploited.
To be clear, I'm a big fan of UBI and think it's a great idea, I just worry about the unintended consequences.
That's the biggest problem with UBI. It creates a default class system.