The Dutchess County BOCES campus in Hyde Park was in lockout for several hours Thursday after a report of a trespasser on school grounds.
Hyde Park police say the initial information was the suspect may be in possession of a handgun.
When various agencies got on scene, it turned out the weapon appeared to be an airsoft-type gun.
Police are questioning the student and the investigation is continuing.