The lack of sex has been a problem for two years now.
You are not being unreasonable at all.
The problems are not just sex. Are you familiar with the so-called "Four Horsemen" that destroy relationships?
The Four Horsemen: Criticism, Contempt, Defensiveness, and Stonewalling
Your boyfriend shows them: criticism, contempt, defensiveness, stonewalling.
What do you see in him?
What will it take for you to decide to move on?