I believe any sane ISI or Army would play double game, we already have India on our eastern border and it would be quite fatal to have another Enemy (or at least not friendly) state sitting on our western border. What Pakistan Army or ISI is doing is right though not very eqasy to handle.
That may or may not be the case, but what you & others see as a logical national security strategy is in fact detrimental to our very existence as a nation. And, remember...the Taliban & Jihadies did not fall out of the sky & landed on Pak-Afghan border, but the poor children picked from refugee camps by ISI,CIA and PA who were indoctrinated into waking human bombs that we're facing today.