What is an “illegal gun”? No such thing is defined by the Constitution of the United States. You must live in a Commie State, Doodle.
Whatever Newsom decides it is I suppose. By established law guns like sawed-off shotguns are illegal.