No. Pakistan is located in South Asia (the Indian subcontinent), not the Middle East.
It borders:
The Middle East typically comprises Southwest Asia + Egypt. Pakistan is a founding member of SAARC (South Asian Association for Regional Cooperation).