A US-trained Pakistani scientist accused of helping Al-Qaeda and shooting at FBI agents in Afghanistan was forced to appear in court Monday as a judge considers if she is competent to stand trial. Aafia Siddiqui kept her hands folded as she entered court Monday surrounded by marshal's deputies. When US District Judge Richard Berman said that she was presumed innocent, she shook her head in apparent disagreement. Days ago a judge's order granted authorities permission to take Siddiqui to court against her will, defense attorney Dawn Cardi said. Psychologists for both prosecutors and the defense said Siddiqui has claimed she saw some of her children in her cell and seemed particularly disturbed by strip searches required before any court appearance. The psychologists wrote in court documents put in the public court record late last week that Siddiqui repeatedly stated she was dead after one strip search and that she said she was convinced video of the search was distributed on the Internet. Prosecutors accuse Siddiqui of having ties to Al-Qaida and say she grabbed a US Army officer's M-4 rifle in Afghanistan, pointed it at an Army captain and cried “Allahu Akbar.” They say she fired at US soldiers and FBI agents before she was shot and wounded by an Army officer. A defense attorney has disputed that account, saying the US government has the facts wrong. Siddiqui, a specialist in neuroscience who trained at the Massachusetts Institute of Technology and Brandeis University, appeared in court twice after she was brought to the US last August but has refused to attend proceedings since then.