The 'Machimoi' were low ranking Egyptian foot soldiers, pressed into service by the Ptolemaic Dynasty during a period of manpower shortage.
The term Máchimoi... ...commonly refers to a broad category of ancient Egyptian low-ranked soldiers which rose during the Late Period of Egypt (664–332 BCE).
Wikipedia has only a brief article on the Machimoi, and references very briefly the use of pikes.
...suggesting that the term was rather an indicator of their military role (for example, the pike-bearing máchimoi epilektoi or the mounted máchimoi hippeis)
The game 'Rome II: Total War' suggests they could be employed in a Phalanx, and have long pikes while maintaining 'Egyptian-looking' armour. I'm guessing this has obvious historical failings though...
Were the Egyptian soldiers in formation alongside the more professional Ptolemaic Phalangites? Is it known what equipment they were given when in this role?