In the Turing test, a human judge has a conversation with another human and a machine.
If the judge can't tell which is which, the AI has successfully passed the test.