No test is foolproof. But a good test is to ask the person to draw a clock, then place the hour and minute hands to read, say, 7:15.
I suppose this test will eventually have to be discarded, as everything is digital for today’s young folks.
That is also part of the SS wellness check my doctor performs every year.