Alternative definition $f : [a,b] \to \mathbb{R}$ is Riemann-Integrable if $\forall \varepsilon > 0, \exists$ step functions $f_\varepsilon, g_\varepsilon$ such that $\lvert f- f_\varepsilon \rvert \le g_\varepsilon$ and $Ig_\varepsilon \le \varepsilon$ where $Ig_\varepsilon = \sum_{j = 0}^{N}g_\varepsilon(x)(\Delta x_{j+1} - \Delta x_j)$
$f : x \in [0,1] \mapsto 0$ if $x \in ([0,1]- \mathbb{Q})$ else $x \mapsto 1$
I know this isn't Riemann integrable and can show it using the upper and lower sums definition.
For this definition I am not entirely sure. I mean it seems like a very similar idea.
I thought perhaps the route to take is assume that is is Riemann-Integrable then let $\varepsilon < 1$ (as it should hold if it were in fact R-I). Now given any partition of the interval, each block will contain rational and irrational numbers so over the same block $\lvert f - f_\varepsilon| = 0$ &$1$ as I could take $f_\varepsilon := f$ as $f$ 'acts" like a step function.