There's the term doublethink, which comes from George Orwell's classic 1984.
Doublethink refers to the holding of opposing beliefs, and more specifically, without cognitive dissonance. Those who doublethink are unaware of any contradiction in their beliefs.