Only the first is correct.
If you mention a fixed time in the past (such as yesterday), you have to use the past simple : 'They went'.
You use the present perfect for indefinite time periods or unfinished time periods. For example:
Where are Tom and Anna?
They've gone to the movies.
There's no time mentioned here, so we presume that they are still there now.