Losing one's marbles is a well-known euphemism that is commonly used to refer to a person who is becoming erratic, senile, or unbalanced. There are several synonyms that can be used instead of "lose marbles" that offer a more descriptive and nuanced alternative. For instance, one could say that someone "has lost their grip on reality" or "has lost their sanity." Other possible synonyms include "is going off the deep end," "has gone mad," "is going bonkers," or "has lost touch with reality." All of these alternatives can be used to describe a person who has lost their ability to think rationally and behave in a normal manner.