Patricia Neal (1926–2010), a major 1950s star (The Fountainhead, Hud), did not become a nun. She deepened her Catholic faith after personal tragedies but continued acting—winning Oscars for The Subject Was Roses (1963) and The Right Stuff (1983). She remained a devout lay Catholic.
The actress you're likely thinking of is Dolores Hart (born 1938):
She's the most famous "actress becomes nun" story. If you meant someone else, provide more clues (era, genre, role).