Cross-union action isn't legal in the UK - if the teachers union hasn't balloted and launched an official strike then they have no legal protection from repercussions for not attending work. You can't strike on the basis of a union you're not a member of.