Having a society that could decide that I cost too much money and that I therefor should be forced to migrate also isn't appealing. However, it is fully based on logic:
Premisse: Reducing government expenses benefits the country (empirical fact for a proper definition of benefit)
A: People that cost a lot more than they produce increase government expenses
B: Removing A reduces government expenses
C: I am one of the people that cost too much
Conclusion: Off you go.
It's a lot easier to say something is logical when you ignore all the premises it
isn't compatible with, which is exactly what you're doing. That's like saying:
Premise: It's good to save money on heating costs.
A: Wood burns.
B: Burning wood produces significant heat energy.
C: All my furniture is made of wood.
Conclusion: Burn all your furniture.
The fact is that we
also have premises regarding the rights of citizens, and the responsibility of society to provide for them even when the benefit to those citizens is economically lesser than what they provide in return, and there could be arguments made that, for other reasons, kicking people out when they "aren't worth it anymore" would
harm the country. X being good for Y in one regard doesn't mean it's good for it in all regards. Burning all my furniture might save me money on my heating bills, but it still isn't worth it financially.
If you're going to argue about the relative merits of "logical debate" vs. "emotional debate", then you should probably double-check your
own logic first. A logical argument made in a total theoretical vacuum, as you just illustrated, does not necessarily hold water when held in light of other axioms, principles, and premises that are held simultaneously.