In my state it is not a crime for the student to commit truancy but illegal for the parent to permit it
This does not work because a parent cannot literally force their child to attend school. If it was a consequence for the student more than the parent i would say keep it a crime.