Meaning
To go crazy or become mentally confused.
Literal Meaning
To misplace your collection of small glass spheres.
Example
“I thought I was losing my marbles when I found my keys in the refrigerator.”