SpongeBob’s on a zany venture up to our world

A scene from “The SpongeBob Movie: Sponge Out of Water.”

Would that all of our brains resembled that of SpongeBob SquarePants — and we’re talking about his actual brain, like, the cerebral matter located somewhere inside that porous yellow body.

When, in the thoroughly enjoyable “The SpongeBob Movie: Sponge Out of Water,” the tiny, scheming Plankton takes a surreptitious trip into one of those sponge-holes, he finds a brain coated with cotton candy, rainbows and all manner of sweets.

Paul Tibbitt’s new movie is zany, clever and fun (and in 3-D).

The movie, the second feature-length outing for the Nickelodeon TV character, and the first since 2004, begins somewhere above the undersea hamlet of Bikini Bottom, where SpongeBob lives. We meet a nefarious pirate character named Burger Beard (Antonio Banderas, in live action), tracking down a precious ancient book, which tells the story of Bikini Bottom. We learn how Bikini Bottom is addicted to Krabby Patties, the succulent burgers made only at Krusty Krab, the fast-food joint where SpongeBob (voiced by Tom Kenny) works for Mr. Krabs (Clancy Brown), who keeps the secret recipe stowed away in a vault.

Back down in Bikini Bottom, rival restaurant owner Plankton is trying to steal the formula. He fails, but the formula actually disappears. The two rivals join forces to find it.

Eventually, SpongeBob and his posse, which includes Squidward (Rodger Bumpass), Sandy (Carolyn Lawrence) and starfish Patrick (Bill Fagerbakke), will end up traveling somewhere they’ve never been: Up to the surface, and out of the water. Here, they assume their new, 3-D form to track down the villainous Burger Beard.