This is a variation of a logic puzzle from ages past. I do not recall the answer, but it can be solved with a math formula IIRC.
Wait, I think it just came to me. Don't you ask him an obscure question, like "What is my age" or "What is my name"? If he answers affirmatively he is lying, and if he claims ignorance he is telling the truth?