Attachinterrupt0 and attachinterrupt1 doesn't work

So what is the problem with what I said?

It wasn't true. The function does not return true or false. It returns the number of characters available to read. That a non-zero value means true and a zero value means false is completely irrelevant.