In virtually all U.S. jurisdictions, crossing a solid double yellow line to make a left turn into a school driveway is illegal. The double yellow line marks a no-passing zone and indicates opposing traffic; it does not become legal to cross simply because a crossing guard is present. The guard's role is to assist pedestrians, not to authorize traffic violations.
If you need to enter a school, use a designated entrance, crosswalk, or intersection where turning is permitted. Plan your route to avoid illegal turns; violating this law can result in a citation and, more importantly, endanger children and other road users.