Just a few side notes:
- neither the first
entries
variable nor the second entries
variable is an array - both are objects of kind craft\elements\db\EntryQuery
(or craft\ElementCriteriaModel
if it's Craft 2).
.search('nonMembers:0')
can be shortened to nonMembers(0)
(or "0"
or "not 1"
depending on the type) and search('membersExclusive:1')
to membersExclusive(1)
it will increase your performance as well
So far about that.. You can merge arrays in Twig via |merge filter
{% set values = [1, 2] %}
{% set values = values|merge(['apple', 'orange']) %}
{# values now contains [1, 2, 'apple', 'orange'] #}
EDIT:
To address your case specifically, you'll need something like this...
{% set entriesOne = craft.entries.section('publications').search('nonMembers:0').find() %}
{% set entriesTwo = craft.entries.section('improveYourClub').search('membersExclusive:1').find() %}
{% set allEntries = entriesOne|merge(entriesTwo) %}