Geometry class in high school sometimes teaches some of it.
Computer science Binary logic teaches some of (De Morgan's laws)
Outside of New Math of the 1970s, it is a glaring omission from the curriculum.
Even enriched classes like Art of Problem Solving that put heavy emphasis on proofs, do not teach formal logic.