title: Compare two lists and return a list of binary values for matches of the same numbers by the same indices
body: <p>I'm looking for a way to determine matches between the elements of my two lists. For example, if I have the following two lists:</p>
  <pre><code>x = [3, 5, 6, 7]
  y = [3, 5, 7, 9]
  </code></pre>
  <p>how do I get the following list with 1's where values match and 0's where values do not match?</p>
  <pre><code>expected_output = [1, 1, 0, 0]
  </code></pre>