If you entered a guilty plea or stated on the record that you were guilty, then the USCIS will treat you as convicted. Even if not, you need to be honest in all of your communication about this incident with the USCIS. If this was an isolated incident, even if the USCIS regards it as a conviction, I expect that it will be classified under the petty offense exception.

There are dozens of threads in this forum addressing this very question.