“A prosecutor told jurors in an opening statement Monday that a New Jersey software developer was actually a highly trained terrorist scoping out U.S.