For $\mathbf{I}$ a generalized rectangle in $\mathbb{R}^{n}$, define $f : \mathbf{I} \rightarrow \mathbb{R}$ to be the function with constant value $1$. Find a subset $D$ of $\mathbf{I}$ such that the restriction $f : D \rightarrow \mathbb{R}$ is not integrable.
I was thinking of taking $D$ to be the set of points in $\mathbf{I}$ with all $n$ components rational and coming up with a density argument to prove non-integrability, but I haven't been able to do so.
Also, I've learned about Jordan content, but I haven't learned about measure zero sets.
I haven't been able to make much progress, and I would appreciate some sort of help.