Illegal or not, it resolves the issue for the majority of the demographic that needs regular access to publications but for some reason does not have this granted to them through their institution. I'm not sure how large this group is, and I've never needed to use SciHub, but I can't say I'm not wholly unsympathetic to their cause from an ethical standpoint.