No, aluminum wiring is not illegal. However, it is outdated, and the current building code does not allow it. If your home has aluminum wiring, you can continue using it, but if you are building new or adding new wiring, you will need to use a different type of wiring.