>expat society is largely cut off from locals.I'm not Swiss but, I think you don't know what xenofobia means. Honestly, I'm getting pretty tired of these tropes, of expats who think that because locald don't chat them up, and if the baristas never greet and smile at them like it's the norm in their home country they immediately take it as the country being xenofobic.
Expat societies are mostly isolated in most other countries, because the locals already have cemented family and social circles from their youth/childhood/university, especially in the Germanic/Norther-European cultures where small-talk and chit-chat is unpopular and people mostly keep to themselves and don't interact much with people they don't know out of respecting their personal space.
> I know many germans firsthand that feel they can't integrate
Then Germans get to experience exactly how expats feel in their country. Join the club.
Snark aside, a Swiss/German/Finnish person not chatting you up and not inviting you to hang out the moment they meet you is not xenofobia, it's people keeping to themselves. Every country and culture has completely different social norms which other cultures might find "unfriendly" but that's not xenofobia.
Xenofobia means something else. And I doubt you were a target of xenofobia too often in Switzerland.