Detonating a smuggled warhead in the hold of a ship docked in, say, New York harbor would make much more sense, while avoiding the huge expense and trouble of building complex intercontinental rockets.
Detonating a warhead in a ship would make a lot of sense.