I would go even farther than that and say that even mediocre or bad illustration is art (which is to say, mediocre or bad art). Illustration is just art the the service of something outside itself (such as a book, an ad, or something else along those lines). Just because the art has a "supporting role" in something else that doesn't change its essential nature.