What does ‘A few sandwiches short of a picnic’ mean?

Someone that lacks common sense might be described as “a few sandwiches short of a picnic.”

The phrase was first documented in the BBC’s “Lenny Henry Christmas Special” in 1987.

“She’s great fun, but she’s a few sandwiches short of a picnic.”