Earlier quoted context omitted.
We need to figure out an alternate way of living for people who are intellectually incapable of contributing to a modern technologically advanced economy. A basic income is a good start. There is another dimension to this problem though; national borders and status. There are a TON of really smart mexicans and other immigrants of every nation who are stuck into an effective caste system based on their status. In fact…
We already have programs for granting preferential immigration to high-skilled foreigners. Every advanced country does. Unrestrained immigration is incompatible with a welfare state. Which would you rather have?
The result would be extremely visibly racist, but I think the right response to that is to understand that existing immigration laws are in effect equally racist. It's the visibility that would change, rather than the degree.