Along with Josip Tito and some other leaders, Soekarno is one of the founders of Non-Aligned Movement in 1961, which Britannica describes as an "abstention from the use of arrangements of collective defense to serve the particular interests of any of the big powers.".
Internally, he declared Nasakom, an abbreviation for Nationalism, Religion, and Communism. He made it clear that he stands in the neutral ground by supporting all three main political factions equally.
After the assassination of Kennedy, it seems that Soekarno's political attitude totally changed in favor of Soviet Bloc. One notable move was a purchase of Sverdlov-class cruiser from Soviet Union, which surely a political move, considering the Indonesian economy at that time, and the fact that the Sverdlov-class is an advanced cruiser. But even more bizare, Indonesia and some other communist countries even concluded a pact called Jakarta - Pnom Penh - Hanoi - Peking - Pyongyang Axis.
Had 1965 never happened, or Soekarno resisted to step down, would Indonesia become a communist country?