To be mentally sound or stable. Now that I've gotten a good night's sleep, I'm starting to feel like I have all my marbles again.Grandma still has all her marbles, in spite of her other health problems.
have all one’s marbles
tv. to have all one’s mental faculties; to be mentally sound. (see also lose (all) one’s marbles. Have got can replace have.) I don’t think he has all his marbles.