title: Compare 2 arrays and list the differences - Swift
body: <p>I was wondering how one would go about comparing 2 boolean arrays and listing the non matching booleans.</p>
  
  <p>I have written up a simple example of 2 arrays.</p>
  
  <pre><code>let array1 = [true, false, true, false]
  let array2 = [true, true, true, true]
  </code></pre>
  
  <p>How would I compare array1 &amp; array2 and display the non matching. I am trying to do this to check user results for a quiz game.</p>
  
  <p>Thanks!</p>