The movie Ship of Fools was based on this.
You're thinking of "Voyage of the Damned." "Ship of Fools" was about a sea voyage from Mexico to Germany.