“No tiene dos dedos de frente.”
He/She is not the sharpest tool in the shed.
Although literally translated “He/she doesn’t have two forehead fingers”, it means that the person about whom you are speaking doesn’t have common sense. You could also say “debes tener dos dedos de frente”, “you should have common sense”.
Main point: Have some forehead fingers, amigo.