Flower Drum Song

A young woman named Mei Li arrives from China as an illegal immigrant with her father in San Francisco, California to enter into an arranged marriage with the owner of a night club, Sammy Fong (inspired by the actual Forbidden City nightclub). Her intended is already involved with his leading showgirl, Linda Low, and does his best to dissuade Mei Li from marrying him, sending her to live in the house of Master Wang, where he presents her as prospect for Master Wang's son, Wang Ta. Dissolving the marriage contract is harder than either of them imagine. Master Wang is persuaded by his sister-in-law, Madame Liang, to allow Mei Li to fall in love naturally with Master Wang's son, Wang Ta. But Wang Ta is dazzled by the charms of Linda, who 'enjoys being a girl', and succeeds in landing a date with her, during which she convinces him to give her his fraternity pin (it symbolizes that they're "going steady"). Linda wishes to use Wang Ta to get a real commitment from Sammy Fong, who gets wind of her plan when Linda attends a party in honor of Wang Ta's and Madame Liang's graduation from university and citizenship classes, respectively. At the party, Linda has another club employee pretend to be her brother, and grant his permission for Linda to marry Wang Ta. Mei Li, hearing this, becomes discouraged, while Ta and his father argue over his marriage plans. Ta argues that he is old enough to make his own decisions, but the father says that he will be the one to let Ta know when he is old enough.
Sammy, in an effort to keep Linda from marrying Wang Ta, arranges to have Wang Ta (and his family) see her nightclub act, where he is shocked at her performance. He leaves, distraught, accompanied by his friend since childhood, the seamstress Helen Chao, who also grew up in America and deeply loves Wang Ta. Ta becomes drunk in his misery over Linda, and Helen ends up letting him stay for the night in her apartment. She sings "Love Look Away", about her unrequited love. In the morning, Mei Li comes to deliver a burned coat for Helen to mend, and becomes distressed when she discovers Wang Ta's clothing in Helen's kitchen. When Wang Ta wakes up (seconds after Mei Li leaves), he still does not notice Helen's affections, even as she pleads for him to stay, and he leaves quickly. He goes to speak with Mei Li, now realizing that she is a better match for him than Linda Low, only to have Mei Li reject him, saying that she once loved him, but not anymore. She and her father leave Master Wang's house and pursue the marriage contract between Mei Li and Sammy Fong. This is unfortunate in that Sammy has already proposed to Linda, but now will be unable to marry her (the contract is binding). Before the wedding, Wang Ta goes to see Mei Li, and they both realize that they are deeply in love with one another. They agree to try to come up with a way to get Mei Li out of her marriage contract.
The day of the wedding, right before she is to sip from a goblet (which would seal her marriage to Sammy), Mei Li declares that, because she entered the United States illegally, the contract is null and void. Wang Ta can thus marry Mei Li, and Sammy decides to marry Linda right there as well, resulting in a double wedding. Helen ends up empty handed (in fact, she does not appear again after Wang Ta leaves her apartment). In the novel, Ta's rejection actually leads her to commit suicide.

Question: Does Mei Li enter the United States legally?
Answer: No