My junior year in HS this kid who was in my math class decided to do something similar. It was Algebra II class, and our teacher gave out our test. This kid obviously had issues but I'll say no more.
As soon as he got the test, he looked at it for about fifteen seconds, wrote his name on the test, raised his hand and the teacher came over. He tried to hand in the test without completing a single problem. She refused to take it and said he had to write at least something on the test. He just took the test back, looked it over for a minute, wrote something on the test and handed it in and left not five minutes into the test. When we left the classroom we saw the test on the desk and we saw that he had written only his name, and drew a large penis on the test.
He got kicked out the following year and joined the Marine Corps.