Preferring a State over another State is exactly the same as nationalism, even if they happened to be united under the same country at a given time (see Calexit).
The Catalonians wanting to separate is also nationalism, despite the proposed country not existing.