In your shoes, I would take their names, and sort it out later.

That is, if they are included in your roster of enrolled students, they are "clueless."

If they don't, they are "sitting in" to try to get the test questions, and then memorizing them for future use by themselves or others.