SpongeBob SquarePants: Season 4, Episode 12
Sandy's experimental teleportation device malfunctions, melding SpongeBob and Squidward into one body.