Wouldn't work.  Lie detectors work when there's guilt--it spikes heart-rate and other reflects other telltale emotionally-driven physical symptoms.  See, Trump THINKS he is actually telling the truth.  He believes he is telling the truth.  So...he'd pass the test.