Is double parking for purpose of loading and unloading materials to commercial vehicle illegal?

Yes, but a police officer who sees such a situation has the discretion to make a judgment call.