Mega2560 Read all Pins

And what if i will check 56 pins if they high and safe it to an array?
All checks must be done in under 20us!