Kunneth formula for cohomology: The cross product $H^*(X;\mathbb Z)\otimes H^*(Y;\mathbb Z)\to H^*(X\times Y;\mathbb Z)$ is an isomoprhism of rings if $X$ and $Y$ are CW complexes and $H^k(Y,R)$ is finitely generated free $R$-module for all $k$.
To see the necessity of finitely generated condition, Hatcher gives an counterexample in the exercise of his Algebraic Topology section 3.2, is to take $X,Y$ to be infinite discrete sets, the cross product map $H^*(X;\mathbb Z)\otimes H^*(Y;\mathbb Z)\to H^*(X\times Y;\mathbb Z)$ is not an isomorphism.
In particular, the cross product is not isomorphic in the $0$-th cohomology. To prove this, since $X$ has infinite components, $H_0(X)\cong \bigoplus_{i\in I} \mathbb Z$, and by Universal coefficient theorem, $H^0$ is dual of $H_0$, so $H^0(X)\cong (H_0(X))^*\cong \prod_{i\in I}Z$. It is same for $Y$. Now it reduces to show the inclusion is not a surjective $$\left(\prod_{i\in I}\mathbb Z\right) \otimes_{\mathbb Z}\left(\prod_{j\in J}\mathbb Z\right)\subsetneqq \prod_{(i,j)\in I\times J}\mathbb Z$$
for $I, J$ infinite sets, and the inclusion map is given by $$(n_i)_{i\in I}\otimes (m_j)_{j\in J}\mapsto (n_im_j)_{(i,j)\in I\times J}$$
In particular, since $$ \prod_{i\in I}\left(\mathbb Z\otimes_{\mathbb Z}\left(\prod_{j\in J}\mathbb Z\right)\right)=\prod_{i\in I}\prod_{j\in J}\mathbb Z=\prod_{(i,j)\in I\times J}\mathbb Z$$
we just need to show $$\left(\prod_{i\in I}\mathbb Z\right) \otimes_{\mathbb Z}\left(\prod_{j\in J}\mathbb Z\right)\subsetneqq \prod_{i\in I}\left(\mathbb Z\otimes_{\mathbb Z}\left(\prod_{j\in J}\mathbb Z\right)\right)$$
Or in other words, we just need in this case, commuting direct product and tensor product does not give you a surjective map. But I have no idea how to go on here.
I know there is a post :Examples proving why the tensor product does not distribute over direct products shows in general tensor product does not commutes with direct product. But, it does not help the special case I want to prove. Thanks in advance someone can help.