The sentence is grammatically incorrect because the verb 'am' does not agree with the subject 'They'.
They are going to school.