No, it is not a crime to have an affair in Texas. Adultery is treated as a civil matter within the context of divorce, not a criminal one.