It’s a crime.
8 USC 1325
Covers illegal entry. New York City is full of illegal aliens (mostly Irish and African). They didn't swim there; they all entered legally on tourist visas and never left. Not, I believe, a crime, although they are civilly subject to summary deportation.