Do you have any reason other than Xenophobia for expecting this?
Do you have any reason to suggest all nations have the same average IQ?
It also stands to reason that there is no reason to assume Spain is at the top of the chart when it comes to national average - so they are most likely also having immigration from countries with a higher average. This would mitigate the effect of countries with a lower average, would it not?
Returning to the original point:
Because immigration usually entails an amount of merit and ability - the successful immigrants are usually at the higher end of the capability spectrum of the originating countries population.
Doesn't it stand to reason immigration would have either a minuscule or positive effect on national average IQ?
https://www.gatestoneinstitute.org/10840/spain-migrant-crisi...