Try changing difficulty to Normal! I was playing on Hard difficulty, and after literal hours of swimming I could not get it to spawn.
I tried switching to Normal, and after literally less than a minute one spawned!!
For Bedrock players that had problems finding the zombie nautilus