It's what's known as a divergent sequence.
While it's bounded, it is not monotone (strictly increasing or decreasing)
https://proofwiki.org/wiki/Divergent_Sequences_may_be_Bounded
A better mind-f#ck is:
Consider the function F(x) = 1 when x is irrational and F(x) = 0 when x is rational (can be expressed as a fraction)
The function is nowhere continuous, and so is not Riemann integrable.
But the integral of F(x) from 0 to 1 = 1
(You can use something called Lebesgue integration combined with the fact that the measure of the rationals is 0[because the rationals are countably infinite])