I am looking for an example of a closed orientable 4-manifold $M$ with $H^1(M;\Bbb Z_2)=\Bbb Z_2$ and non-zero cup product $H^1(M;\Bbb Z_2)\times H^1(M;\Bbb Z_2)\to H^2(M;\Bbb Z_2)$.
A non-orientable example is $\Bbb RP^4$. An orientable example of dimension 3 is $\Bbb RP^3$.
I have asked at math stackexchange and the question was upvoted but no answers have been given.