The term is idiocy
I believe he was referring to the movie
https://www.imdb.com/title/tt0387808/
But idiocracy is a real word (though spelled differently).
Ideocracy is “governance of a state according to the principles of a particular (political) ideology; a state or country governed in this way”.
The Soviet Union would have been an ideocracy because it did not permit other ideologies to influence governance.