Nothing to do with racism or xenophobia
The man who spearheaded a Brexit campaign consistently used anti-immigration and anti-Islamic rhetoric to gain support, you are well and truly living in dream land if you think that it didn't play a big role in voting.
To suggest there was no islamaphobia because there is no Muslim country is ridiculous, especially coming from a man who churned out the scaremongering that Turkey will join the EU and flood Europe with Muslims.