Not sinful. You can’t address it and move on, without acknowledging it first.
In fact, I would argue that doing anything OTHER than acknowledging it could actually lead to sin. Acknowledging it and saying, “this is a fact, I need to work through how I intend to act/react in response” could very much help you figure out how to cope. Denying it could lead to the urge becoming so strong that you end up committing sinful actions to avoid dealing with the situation. For example, it’d be a sin to become romantically involved with an opposite-sex partner solely to prove (to yourself or others) that you don’t feel attracted to someone of the same sex.