Officials said the man did not appear to be targeting Trump or others involved in the trial
The individual, a traveller from Wuhan, China, is in isolation in hospital and in good condition, it said in a statement.
More than 2,000 people have been infected with the coronavirus, the vast majority in China, where 56 people have died from it.