Game of Nim

Given piles of stones, two players take turns removing any positive number of stones from a single pile. The player who takes the last stone wins. Determine if the first player can force a win.

Examples
Input: [1,2,3]
Output: false
Hints

Game of Nim

Given piles of stones, two players take turns removing any positive number of stones from a single pile. The player who takes the last stone wins. Determine if the first player can force a win.