Researchers have evaluated polygraph accuracy in detecting lies and discovered that they are not very accurate at all. (This infographic is from Psychology, 5th Edition, Chapter 9.)
Higher accuracy may be obtained by asking about details of a crime that only a guilty person would know. For example, an examiner may check to see if a person’s arousal is greater when asked about a specific weapon among other weapons, or a specific stolen item among other possibilities.