Standard plagiarism detection like TurnItIn or a google search won't pick up something that's spat out of ChatGPT. While the student may not be plagiarising another human's work (directly), they are also not submitting their own work which defeats the purpose of assessment.