Check if they are responding to your questions logically or not. See if their eyes seem normal or if they are dazed. If they are not behaving appropriately, then they are most probably sleepwalking. If they are talking illogically and it is difficult to wake them up, these are also the symptoms of sleepwalking.