Sure, playing chess needs intelligence, dedication, and good chess players are smarter than an average person. But it’s waaaay exaggerated in movies. I’m a math researcher, and in any movie, my department will be full of chess geniuses. But in reality, only about 10% of them even play chess.
Based on the number of comments in this thread, apparently this is a common misconception. Memorization is not the primary skill of chess. Knowledge of chess principles and common ideas, strategies, and tactics and the ability to synthesize those ideas with elements of the current position are the primary skill of chess. In fact, novel problem solving is very fundamental to the game.
Opening theory prep ultimately makes up a pretty small part of the game (though it is more pronounced at top levels of play). The primary purpose of studying openings is not to just memorize a bunch of lines (though having lines prepped is helpful), but to understand the common thematic elements that arise from said openings and common middlegame positions and ideas.