Every person owing allegiance to the United States or the Government of the Philippine Islands, without being a foreigner, and having knowledge of any conspiracy against them, who conceals or does not disclose and make known the same, as soon as possible to the governor or fiscal of the province, or the mayor or fiscal of the city in which he resides, as the case may be, shall be punished as an accessory to the crime of treason.