That’s a weak argument. Just because I bring up another point of view doesn’t mean I subscribe to the view mentioned, which I don’t.
If a country doesn’t want to allow immigration then that’s perfectly moral. It may eventually kill their culture off in the long run but it’s not xenophobic by definition.
If a country does allow immigration and then is prejudice towards a group coming in then absolutely that’s xenophobic.