If you are not convicted, most likely USCIS doesn't know about this. However, if you record goes to plice and fingerprints were taken, FBI will certainly find out when they run your name-check (a process when you apply for green card). Then you will be in trouble.