Being against the EU is not the same as being a nationalist.
From the google search on UKIP you get this:
Libertarian, non-racist party seeking Britain's withdrawal from the European Union. Includes manifesto, campaign news, links and a section devoted to ...
Because in europe calling people nationalist is the same as calling them racist, therefore they have to specify that they are non-racist. The US word for nationalist is = Patriot.