Sharon Victoria Rector, charged with kidnaping a day-old baby boy from George Washington University Hospital last Friday, visited the hospital's nursery to watch newborn infants on several occasions prior to the kidnaping, according to a court psychiatrist.

The psychiatrist, Dr. Leonard C. Maguigad, said that Rector, 20, told him she decided to take a baby on Friday because she believed she had just suffered a miscarriage and wanted an infant of her own.

"She had always wanted a baby," Dr. Maguigad said yesterday. "One of the babies attracted her. She said that "The baby looked like my boyfriend.'"

She changed her mind and allowed friends and family to return the baby to police only after she found out she was pregnant, Maguigad said. The baby was recovered Monday by police.

Rector gained access to the nursery floor of the hospital on Friday afternoon after she visited the hospital's emergency room, according to Maguigad. From there she was directed to the obstetrics floor, where the nursery was located, to be seen by an obstetrician for medical reasons, he said.

"After she was finished with the medical consultation," the psychiatrist said Rector told him, "she went to the nursery" to view the infants. Maguigad said she did not leave the hospital again until she left with the baby at about 8:15 p.m.

Hospital officials declined to comment on whether Rector visited the hospital on previous occasions.

According to a screening report prepared by Maguigad for the court following Rector's arrest, the young woman claimed to have suffered three miscarriages and to be currently pregnant.

"It's not very clear to me whether she is delusionary or not," Maguigad said yesterday. "She may just be acting out a fantasy about child rearing and child bearing . . . The statement about pregnancy and miscarriage may represent delusionary thinking on her part."

A medical source familiar with Rector's case said yesterday, however, that she is two to four months pregnant. Whether she had suffered any miscarriages in the past could not be determined.

Rector had told Maguigad that she suffered her latest miscarriage Friday, the day of the kidnaping.

Rector's friends said yesterday that she had been telling them since September that she was pregnant.

"She never looked pregnant," said Daphne Moore, the daughter of a close Rector family friend. "Even though she wasn't getting bigger, she would say she was pregnant."

Rector then told her friends that she had given birth to a baby in May. "Everybody was looking for the baby, but she would say it was in the hospital for asthma or something," Moore said.

According to friends, Rector bought clothing, milk, shoes and other items for the baby she was expecting.

According to Burnell Frizzell, Rector's boyfriend, the couple's relationship had been faltering for some time. Both he and Rector's friends said she had wanted a baby in order to bring the two closer together.

Maguigad, the psychiatrist, said he surmised that Rector was having "a conflict with her boyfriend or pregnancy or sexuality."

"There is very strong reason to examine this woman further because of the strange story she presented," Maguigad said.

"(Hers) is a very mixed-up story. It doesn't sound real. It's not consistent with reality. The incident itself is not rational," he said.

Maguigad examined Rector on Wednesday and found that she was competent to stand trial. "That's not to say she's a competent person," he said yesterday.

The dramatic kidnaping case began Friday night when the infant disappeared from the hospital room of his mother, Linda Jackson. She had left the room lately after she received a telephone call telling her to visit another part of the ward to sign papers.

Jackson said she walked down the hall, found she was not wanted and returned to her room about five minutes later. The baby was gone when she returned.