To be more precise, it doesn't *matter" if the Internet Archive is a "library" or not because libraries don't have any special status with respect to copyright law in the US. (Beyond whatever special status publishers may choose to give certain classes of libraries with respect to digital rights.) You or I can choose to setup a lending library tomorrow and we have the same rights to loan out physical books as the New York Public Library does.